﻿using JNPF.Common.Const;
using SqlSugar;

namespace JNPF.Website.Entitys;

/// <summary>
/// 新闻分类管理实体.
/// </summary>
[SugarTable("website_news_category")]
[Tenant(ClaimConst.TENANTID)]
public class WebsiteNewsCategoryEntity
{
    /// <summary>
    /// 主键.
    /// </summary>
    [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
    public string Id { get; set; }

    /// <summary>
    /// 新闻分类名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_Name")]
    public string Name { get; set; }

    /// <summary>
    /// 排序码.
    /// </summary>
    [SugarColumn(ColumnName = "F_SortCode")]
    public long SortCode { get; set; }

}